from selenium import webdriver
from base.basetools import Base
from base.chrome_options import Options

driver = webdriver.Chrome(options=Options().options_conf())
bs = Base(driver)

bs.open("https://www.baidu.com/")
bs.click(("link text", "设置"))
bs.click(('xpath', '//a[text()="搜索设置"]'))


bs.wait(10)
bs.quit()